<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript" src="../bibliotheques/jquery.js"></script>
<script type="text/javascript" src="../bibliotheques/pause.js"></script>
<script type="text/javascript" src="../bibliotheques/jquery.blockUI.js.js"></script>
<script type="text/javascript" src="../bibliotheques/interface.js"></script>
<script type="text/javascript" src="../bibliotheques/firebug/firebug.js"></script>
<script type="text/javascript" src="../jsGUIGuy/Misc.js"></script>
<script type="text/javascript" src="../jsGUIGuy/ServerInterface.js"></script>
<script type="text/javascript" src="../jsGUIGuy/User.js"></script>
<script type="text/javascript" src="../jsGUIGuy/PatternMapping.js"></script>
<script type="text/javascript" src="../jsGUIGuy/GUI.js"></script>
<script type="text/javascript" src="../jsGUIGuy/GUIList.js"></script>
<script type="text/javascript" src="../jsGUIGuy/GUIEvents.js"></script>
<script type="text/javascript" src="../jsGUIGuy/GUIApi.js"></script>
</head>
<body>

<h2>Speed Test</h2>
<div id="log" style="font-family: arial; font-size:11px;">
</div>
<br><br>

<div class="load_on_start" dataObject="task" dataSource="speed_test_source_125.html?" defaultView="form" callMethod="iframe">
  <div id="pattern_task_form" style="display:none;">
      <form>
          <input type="checkbox" name="Done" dataType="Boolean" class="cbtodo Done" onChange="applyEditGUI(this,'form')">
          <input type="text" name="Name" dataType="Text" class="todo_champ_form Name" onChange="applyEditGUI(this,'form')">
          <div class="detail_todo" style="font-style: italic">Cr&eacute;e le <span class="created_at"></span></div>
          <div class="detail_todo" style="font-style: italic">Termin&eacute;e le <span class="Done_date"></span></div>
      </form>
  </div>	
</div>

<script type="text/javascript">
  var debut;
  var render;
  var fin;
  var timerID = self.setInterval('testGui()', 20)

 function testGui() {
    if (GUIs.length == 126) 
    {		
        window.clearInterval(timerID);
        fin = new Date();
        document.getElementById("log").innerHTML += "Fin : " + fin + "<br><br>";  
        document.getElementById("log").innerHTML += "Render time : " + (fin.getTime()-debut.getTime())/1000 + "<br>";
    }	
  }

  $(document).ready(function() {    
    debut = new Date();
    document.getElementById("log").innerHTML = "Debut : " + debut + "<br>";
    $(document).ready(function() {
      GUIGuyApi = new GUIApi();
      GUIGuyApi.autoLoad();
    });
  });  
</script>
</body>
</html>